home *** CD-ROM | disk | FTP | other *** search
/ IRIX Base Documentation 2002 November / SGI IRIX Base Documentation 2002 November.iso / usr / share / catman / p_man / cat3 / SCSL / dormr3.z / dormr3
Encoding:
Text File  |  2002-10-03  |  5.2 KB  |  199 lines

  1.  
  2.  
  3.  
  4. DDDDOOOORRRRMMMMRRRR3333((((3333SSSS))))                                                          DDDDOOOORRRRMMMMRRRR3333((((3333SSSS))))
  5.  
  6.  
  7.  
  8. NNNNAAAAMMMMEEEE
  9.      DORMR3 - overwrite the general real m by n matrix C with  Q * C if SIDE =
  10.      'L' and TRANS = 'N', or  Q'* C if SIDE = 'L' and TRANS = 'T', or  C * Q
  11.      if SIDE = 'R' and TRANS = 'N', or  C * Q' if SIDE = 'R' and TRANS = 'T',
  12.  
  13. SSSSYYYYNNNNOOOOPPPPSSSSIIIISSSS
  14.      SUBROUTINE DORMR3( SIDE, TRANS, M, N, K, L, A, LDA, TAU, C, LDC, WORK,
  15.                         INFO )
  16.  
  17.          CHARACTER      SIDE, TRANS
  18.  
  19.          INTEGER        INFO, K, L, LDA, LDC, M, N
  20.  
  21.          DOUBLE         PRECISION A( LDA, * ), C( LDC, * ), TAU( * ), WORK( *
  22.                         )
  23.  
  24. IIIIMMMMPPPPLLLLEEEEMMMMEEEENNNNTTTTAAAATTTTIIIIOOOONNNN
  25.      These routines are part of the SCSL Scientific Library and can be loaded
  26.      using either the -lscs or the -lscs_mp option.  The -lscs_mp option
  27.      directs the linker to use the multi-processor version of the library.
  28.  
  29.      When linking to SCSL with -lscs or -lscs_mp, the default integer size is
  30.      4 bytes (32 bits). Another version of SCSL is available in which integers
  31.      are 8 bytes (64 bits).  This version allows the user access to larger
  32.      memory sizes and helps when porting legacy Cray codes.  It can be loaded
  33.      by using the -lscs_i8 option or the -lscs_i8_mp option. A program may use
  34.      only one of the two versions; 4-byte integer and 8-byte integer library
  35.      calls cannot be mixed.
  36.  
  37. PPPPUUUURRRRPPPPOOOOSSSSEEEE
  38.      DORMR3 overwrites the general real m by n matrix C with Q * C if SIDE =
  39.      'L' and TRANS = 'N', or Q'* C if SIDE = 'L' and TRANS = 'T', or C * Q if
  40.      SIDE = 'R' and TRANS = 'N', or C * Q' if SIDE = 'R' and TRANS = 'T',
  41.      where Q is a real orthogonal matrix defined as the product of k
  42.      elementary reflectors
  43.  
  44.            Q = H(1) H(2) . . . H(k)
  45.  
  46.      as returned by DTZRZF. Q is of order m if SIDE = 'L' and of order n if
  47.      SIDE = 'R'.
  48.  
  49.  
  50. AAAARRRRGGGGUUUUMMMMEEEENNNNTTTTSSSS
  51.      SIDE    (input) CHARACTER*1
  52.              = 'L': apply Q or Q' from the Left
  53.              = 'R': apply Q or Q' from the Right
  54.  
  55.      TRANS   (input) CHARACTER*1
  56.              = 'N': apply Q  (No transpose)
  57.              = 'T': apply Q' (Transpose)
  58.  
  59.  
  60.  
  61.  
  62.  
  63.                                                                         PPPPaaaaggggeeee 1111
  64.  
  65.  
  66.  
  67.  
  68.  
  69.  
  70. DDDDOOOORRRRMMMMRRRR3333((((3333SSSS))))                                                          DDDDOOOORRRRMMMMRRRR3333((((3333SSSS))))
  71.  
  72.  
  73.  
  74.      M       (input) INTEGER
  75.              The number of rows of the matrix C. M >= 0.
  76.  
  77.      N       (input) INTEGER
  78.              The number of columns of the matrix C. N >= 0.
  79.  
  80.      K       (input) INTEGER
  81.              The number of elementary reflectors whose product defines the
  82.              matrix Q.  If SIDE = 'L', M >= K >= 0; if SIDE = 'R', N >= K >=
  83.              0.
  84.  
  85.      L       (input) INTEGER
  86.              The number of columns of the matrix A containing the meaningful
  87.              part of the Householder reflectors.  If SIDE = 'L', M >= L >= 0,
  88.              if SIDE = 'R', N >= L >= 0.
  89.  
  90.      A       (input) DOUBLE PRECISION array, dimension
  91.              (LDA,M) if SIDE = 'L', (LDA,N) if SIDE = 'R' The i-th row must
  92.              contain the vector which defines the elementary reflector H(i),
  93.              for i = 1,2,...,k, as returned by DTZRZF in the last k rows of
  94.              its array argument A.  A is modified by the routine but restored
  95.              on exit.
  96.  
  97.      LDA     (input) INTEGER
  98.              The leading dimension of the array A. LDA >= max(1,K).
  99.  
  100.      TAU     (input) DOUBLE PRECISION array, dimension (K)
  101.              TAU(i) must contain the scalar factor of the elementary reflector
  102.              H(i), as returned by DTZRZF.
  103.  
  104.      C       (input/output) DOUBLE PRECISION array, dimension (LDC,N)
  105.              On entry, the m-by-n matrix C.  On exit, C is overwritten by Q*C
  106.              or Q'*C or C*Q' or C*Q.
  107.  
  108.      LDC     (input) INTEGER
  109.              The leading dimension of the array C. LDC >= max(1,M).
  110.  
  111.      WORK    (workspace) DOUBLE PRECISION array, dimension
  112.              (N) if SIDE = 'L', (M) if SIDE = 'R'
  113.  
  114.      INFO    (output) INTEGER
  115.              = 0: successful exit
  116.              < 0: if INFO = -i, the i-th argument had an illegal value
  117.  
  118. FFFFUUUURRRRTTTTHHHHEEEERRRR DDDDEEEETTTTAAAAIIIILLLLSSSS
  119.      Based on contributions by
  120.        A. Petitet, Computer Science Dept., Univ. of Tenn., Knoxville, USA
  121.  
  122.  
  123.  
  124.  
  125.  
  126.  
  127.  
  128.  
  129.                                                                         PPPPaaaaggggeeee 2222
  130.  
  131.  
  132.  
  133.  
  134.  
  135.  
  136. DDDDOOOORRRRMMMMRRRR3333((((3333SSSS))))                                                          DDDDOOOORRRRMMMMRRRR3333((((3333SSSS))))
  137.  
  138.  
  139.  
  140. SEE ALSO
  141.      INTRO_LAPACK(3S), INTRO_SCSL(3S)
  142.  
  143.      This man page is available only online.
  144.  
  145.  
  146.  
  147.  
  148.  
  149.  
  150.  
  151.  
  152.  
  153.  
  154.  
  155.  
  156.  
  157.  
  158.  
  159.  
  160.  
  161.  
  162.  
  163.  
  164.  
  165.  
  166.  
  167.  
  168.  
  169.  
  170.  
  171.  
  172.  
  173.  
  174.  
  175.  
  176.  
  177.  
  178.  
  179.  
  180.  
  181.  
  182.  
  183.  
  184.  
  185.  
  186.  
  187.  
  188.  
  189.  
  190.  
  191.  
  192.  
  193.  
  194.  
  195.                                                                         PPPPaaaaggggeeee 3333
  196.  
  197.  
  198.  
  199.